package com.huawei.gamebox.plugin.gameservice.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import o.Logger;
import o.fad;
import o.faf.c;
import o.fah;

public class GameBuoyService extends Service {
    private e ˎ = new e();

    class e extends c {
        final /* synthetic */ GameBuoyService ˎ;

        private e(GameBuoyService gameBuoyService) {
            this.ˎ = gameBuoyService;
        }

        public void ॱ(RequestInfo requestInfo, fad o_fad) throws RemoteException {
            if (requestInfo == null || o_fad == null) {
                Logger.e("GameBuoyService", "the param is null when call request");
                return;
            }
            if (Logger.ˎ()) {
                Logger.ˏ("GameBuoyService", "call request:" + requestInfo.ॱ());
            }
            fah.ॱ().ˏ(this.ˎ, requestInfo, o_fad);
        }
    }

    public IBinder onBind(Intent intent) {
        if (Logger.ˎ()) {
            Logger.ˏ("GameBuoyService", "the GameBuoyService AIDL service for GameServiceSDK onBind");
        }
        return this.ˎ;
    }

    public boolean onUnbind(Intent intent) {
        if (Logger.ˎ()) {
            Logger.ˏ("GameBuoyService", "the GameBuoyService AIDL service for GameServiceSDK onUnbind");
        }
        fah.ॱ().ˎ();
        return super.onUnbind(intent);
    }
}
